package com.zb.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @Author WEN
 * @Date 2024/6/23 0023
 **/
@Data
@ApiModel("网点提现与费用人员权限对象")
public class NetworkWithdrawWithFeeEmpRootUpdateVo {

    @NotNull(message = "是否允许项不能为空")
    @ApiModelProperty(value = "是否允许：false-不允许，true-允许", required = true, example = "true")
    private Boolean allow;

    @NotNull(message = "允许管理员代提现项不能为空")
    @ApiModelProperty(value = "是否允许管理员代提现：false-不允许，true-允许", required = true, example = "true")
    private Boolean allowManagerHelpWithdraw;

    @NotNull(message = "服务商不能为空，至少选择一项")
    @Size(min = 1, message = "服务商不能为空，至少选择一项")
    @ApiModelProperty(value = "服务商ID", required = true)
    private List<Long> networkIds;

    @ApiModelProperty(value = "人员类型：1-团队负责人，2-工程师", example = "[1,2]")
    private List<Integer> empType;
}
